﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    [Serializable]
    public class CommandTypeInfo : RecordInfo
    {
        private int type_seq;
        private string type_name;
        private string type_name_short;
        CommandGroupInfo cmd_group_seq;

        public CommandTypeInfo()
        { 
        
        }
        public CommandTypeInfo(int Sequence)
        {
            this.Sequence = Sequence;
        }
        public CommandTypeInfo(int Sequence, string Name, string NameShort, CommandGroupInfo Group
            , string Remarks, Nullable<int> Createdby, Nullable<int> UpdatedBy)
        {
            this.Sequence = Sequence;
            this.Name = Name;
            this.NameShort = NameShort;
            this.Group = Group;
            this.Remarks = Remarks;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }
        public int Sequence
        {
            get { return type_seq; }
            set { type_seq = value; }
        }
        public string Name
        {
            get { return type_name; }
            set { type_name = value; }
        }
        public string NameShort
        {
            get { return type_name_short; }
            set { type_name_short = value; }
        }
        public CommandGroupInfo Group
        {
            get { return cmd_group_seq; }
            set { cmd_group_seq = value; }
        }
    }
}
